libostree_1_la_SOURCES = \
src/libostree/ostree-async-progress.c \
- src/libostree/ostree-cmdprivate.h \
- src/libostree/ostree-cmdprivate.c \
+ src/libostree/ostree-cmd-private.h \
+ src/libostree/ostree-cmd-private.c \
src/libostree/ostree-core-private.h \
src/libostree/ostree-core.c \
src/libostree/ostree-date-utils.c \
ostree-bootloader-grub2.h \
ostree-bootloader-syslinux.h \
ostree-bootloader-uboot.h \
- ostree-cmdprivate.h \
+ ostree-cmd-private.h \
ostree-core-private.h \
ostree-fetcher.h \
ostree-gpg-verifier.h \
--- /dev/null
+/*
+ * Copyright (C) 2014 Colin Walters <walters@verbum.org>
+ *
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#include "config.h"
+
+#include "ostree-cmd-private.h"
+#include "ostree-repo-private.h"
+#include "ostree-core-private.h"
+#include "ostree-repo-static-delta-private.h"
+#include "ostree-sysroot-private.h"
+#include "ostree-bootloader-grub2.h"
+
+#include "otutil.h"
+
+static gboolean
+impl_ostree_generate_grub2_config (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error)
+{
+ return _ostree_bootloader_grub2_generate_config (sysroot, bootversion, target_fd, cancellable, error);
+}
+
+/**
+ * ostree_cmdprivate: (skip)
+ *
+ * Do not call this function; it is used to share private API between
+ * the OSTree commandline and the library.
+ */
+const OstreeCmdPrivateVTable *
+ostree_cmd__private__ (void)
+{
+ static OstreeCmdPrivateVTable table = {
+ _ostree_impl_system_generator,
+ impl_ostree_generate_grub2_config,
+ _ostree_repo_static_delta_dump,
+ _ostree_repo_static_delta_query_exists,
+ _ostree_repo_static_delta_delete,
+ _ostree_repo_verify_bindings,
+ _ostree_sysroot_finalize_staged,
+ _ostree_sysroot_boot_complete,
+ };
+
+ return &table;
+}
--- /dev/null
+/*
+ * Copyright (C) 2014 Colin Walters <walters@verbum.org>
+ *
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "ostree-types.h"
+
+G_BEGIN_DECLS
+
+gboolean _ostree_impl_system_generator (const char *ostree_cmdline, const char *normal_dir, const char *early_dir, const char *late_dir, GError **error);
+
+typedef struct {
+ gboolean (* ostree_system_generator) (const char *ostree_cmdline, const char *normal_dir, const char *early_dir, const char *late_dir, GError **error);
+ gboolean (* ostree_generate_grub2_config) (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error);
+ gboolean (* ostree_static_delta_dump) (OstreeRepo *repo, const char *delta_id, GCancellable *cancellable, GError **error);
+ gboolean (* ostree_static_delta_query_exists) (OstreeRepo *repo, const char *delta_id, gboolean *out_exists, GCancellable *cancellable, GError **error);
+ gboolean (* ostree_static_delta_delete) (OstreeRepo *repo, const char *delta_id, GCancellable *cancellable, GError **error);
+ gboolean (* ostree_repo_verify_bindings) (const char *collection_id, const char *ref_name, GVariant *commit, GError **error);
+ gboolean (* ostree_finalize_staged) (OstreeSysroot *sysroot, GCancellable *cancellable, GError **error);
+ gboolean (* ostree_boot_complete) (OstreeSysroot *sysroot, GCancellable *cancellable, GError **error);
+} OstreeCmdPrivateVTable;
+
+/* Note this not really "public", we just export the symbol, but not the header */
+_OSTREE_PUBLIC const OstreeCmdPrivateVTable *
+ostree_cmd__private__ (void);
+
+G_END_DECLS
+++ /dev/null
-/*
- * Copyright (C) 2014 Colin Walters <walters@verbum.org>
- *
- * SPDX-License-Identifier: LGPL-2.0+
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <https://www.gnu.org/licenses/>.
- */
-
-#include "config.h"
-
-#include "ostree-cmdprivate.h"
-#include "ostree-repo-private.h"
-#include "ostree-core-private.h"
-#include "ostree-repo-static-delta-private.h"
-#include "ostree-sysroot-private.h"
-#include "ostree-bootloader-grub2.h"
-
-#include "otutil.h"
-
-static gboolean
-impl_ostree_generate_grub2_config (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error)
-{
- return _ostree_bootloader_grub2_generate_config (sysroot, bootversion, target_fd, cancellable, error);
-}
-
-/**
- * ostree_cmdprivate: (skip)
- *
- * Do not call this function; it is used to share private API between
- * the OSTree commandline and the library.
- */
-const OstreeCmdPrivateVTable *
-ostree_cmd__private__ (void)
-{
- static OstreeCmdPrivateVTable table = {
- _ostree_impl_system_generator,
- impl_ostree_generate_grub2_config,
- _ostree_repo_static_delta_dump,
- _ostree_repo_static_delta_query_exists,
- _ostree_repo_static_delta_delete,
- _ostree_repo_verify_bindings,
- _ostree_sysroot_finalize_staged,
- _ostree_sysroot_boot_complete,
- };
-
- return &table;
-}
+++ /dev/null
-/*
- * Copyright (C) 2014 Colin Walters <walters@verbum.org>
- *
- * SPDX-License-Identifier: LGPL-2.0+
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <https://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "ostree-types.h"
-
-G_BEGIN_DECLS
-
-gboolean _ostree_impl_system_generator (const char *ostree_cmdline, const char *normal_dir, const char *early_dir, const char *late_dir, GError **error);
-
-typedef struct {
- gboolean (* ostree_system_generator) (const char *ostree_cmdline, const char *normal_dir, const char *early_dir, const char *late_dir, GError **error);
- gboolean (* ostree_generate_grub2_config) (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error);
- gboolean (* ostree_static_delta_dump) (OstreeRepo *repo, const char *delta_id, GCancellable *cancellable, GError **error);
- gboolean (* ostree_static_delta_query_exists) (OstreeRepo *repo, const char *delta_id, gboolean *out_exists, GCancellable *cancellable, GError **error);
- gboolean (* ostree_static_delta_delete) (OstreeRepo *repo, const char *delta_id, GCancellable *cancellable, GError **error);
- gboolean (* ostree_repo_verify_bindings) (const char *collection_id, const char *ref_name, GVariant *commit, GError **error);
- gboolean (* ostree_finalize_staged) (OstreeSysroot *sysroot, GCancellable *cancellable, GError **error);
- gboolean (* ostree_boot_complete) (OstreeSysroot *sysroot, GCancellable *cancellable, GError **error);
-} OstreeCmdPrivateVTable;
-
-/* Note this not really "public", we just export the symbol, but not the header */
-_OSTREE_PUBLIC const OstreeCmdPrivateVTable *
-ostree_cmd__private__ (void);
-
-G_END_DECLS
#include "ostree.h"
#include "ostree-core-private.h"
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
#ifdef HAVE_LIBMOUNT
typedef FILE OtLibMountFile;
#include "ostree-core-private.h"
#include "ostree-repo-private.h"
#include "ostree-lzma-decompressor.h"
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
#include "ostree-checksum-input-stream.h"
#include "ostree-repo-static-delta-private.h"
#include "otutil.h"
#include "ostree.h"
#include "otutil.h"
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
static GOptionEntry options[] = {
{ NULL }
#include "ostree.h"
#include "otutil.h"
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
#include "ostree.h"
static GOptionEntry options[] = {
#include "ot-main.h"
#include "ot-admin-instutil-builtins.h"
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
#include "otutil.h"
#include "ot-main.h"
#include "ot-builtins.h"
#include "ostree.h"
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
#include "otutil.h"
static gboolean opt_quiet;
#include "ot-main.h"
#include "ot-builtins.h"
#include "ostree.h"
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
#include "ot-main.h"
#include "otutil.h"
#include <libglnx.h>
-#include "ostree-cmdprivate.h"
+#include "ostree-cmd-private.h"
#include "ostree-mount-util.h"
static const char *arg_dest = "/tmp";